package com.yuyou.tas.lesson.vo.req;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.sql.Date;
import java.sql.Time;

/**
 * Created by yujin.liu on 2018/5/18.
 */
public class ReqClassPlan {

    @ApiModelProperty(value = "上课时段  0：每天，1：周一，2：周二，3：周三，4：周四5，5：周五，6：周六，7：周日", required = true)
    @NotNull(message = "planTime 不能为空")
    private Integer planTime;

    @ApiModelProperty(value = "开始时间", required = true)
    @NotBlank(message = "开始时间(startTime) 不能为空")
    private String startTime;

    @ApiModelProperty(value = "结束时间", required = true)
    @NotBlank(message = "结束时间(endTime) 不能为空")
    private String endTime;

    public Integer getPlanTime() {
        return planTime;
    }

    public void setPlanTime(Integer planTime) {
        this.planTime = planTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
